package com.qf.feign.api;

import com.qf.vo.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "order",path = "/orderController")
public interface OrderService {

    @RequestMapping("/getOrderInfoById/{oid}")
    public Order getOrderInfoById(@PathVariable("oid") String oid);

}
